package com.kifas.model.xml;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class BukuPiutangPostingModel {

	@XmlElement(type = BukuPiutangModel.class)
	private BukuPiutangModel main;
	@XmlElement(type = BukuPiutangModel.class)
	private BukuPiutangModel balance;

	public BukuPiutangPostingModel() {
	}

	public BukuPiutangPostingModel(BukuPiutangModel main, BukuPiutangModel balance) {
		this.main = main;
		this.balance = balance;
	}

	public BukuPiutangModel getMain() {
		return main;
	}

	public void setMain(BukuPiutangModel main) {
		this.main = main;
	}

	public BukuPiutangModel getBalance() {
		return balance;
	}

	public void setBalance(BukuPiutangModel balance) {
		this.balance = balance;
	}

}
